package org.jeecg.modules.storage.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecg.modules.storage.entity.PackageStorageMaterial;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @Description: 包材入库单
 * @Author: jeecg-boot
 * @Date:   2024-08-05
 * @Version: V1.0
 */
@Data
@ApiModel(value="package_storagePage对象", description="包材入库单")
public class PackageStoragePage {

	/**主键*/
	@ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
	@ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**供货商单位*/
	@Excel(name = "供货商单位", width = 15)
	@ApiModelProperty(value = "供货商单位")
    private String supplierId;
	/**类型*/
	@Excel(name = "类型", width = 15)
	@ApiModelProperty(value = "类型")
	@Dict(dicCode = "rk_type")
    private String storageType;
	/**批次号*/
	@Excel(name = "批次号", width = 15)
	@ApiModelProperty(value = "批次号")
    private String lotNumber;
	/**进场日期*/
	@Excel(name = "进场日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "进场日期")
    private Date enteringDate;
	/**宝洁供应商编码*/
	@Excel(name = "宝洁供应商编码", width = 15)
	@ApiModelProperty(value = "宝洁供应商编码")
    private String bjSupplierCode;
	/**宝洁采购订单号*/
	@Excel(name = "宝洁采购订单号", width = 15)
	@ApiModelProperty(value = "宝洁采购订单号")
    private String bjProcurementCode;
	/**宝洁供应商*/
	@Excel(name = "宝洁供应商", width = 15)
	@ApiModelProperty(value = "宝洁供应商")
    private String bjSupplierName;
	/**状态*/
	@Excel(name = "状态", width = 15)
	@ApiModelProperty(value = "状态")
    private String status;
	/**编号*/
	@Excel(name = "编号", width = 15)
	@ApiModelProperty(value = "编号")
    private String code;

	@ExcelCollection(name="包材入库单物料")
	@ApiModelProperty(value = "包材入库单物料")
	private List<PackageStorageMaterial> packageStorageMaterialList;

}
